package cn.zhiquxing.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Document
public class Role implements Serializable {
    
    private Long id;
    
    @Field("role_name")
    private String roleName;
    
    private String note;
}
